<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <base href="<%=basePath%>">
    <link type="text/css" href="css/base.css" rel="stylesheet"/>
    <script type="text/javascript" src="../js/jquery.min.js"></script>
    <script type="text/javascript" src="../js/menu.js"></script>
    <title>模板下载</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <style type="text/css">
        table tr td {

        }

        table tr td a {
            text-decoration: none;
        }

        table tr td a:hover {

        }
    </style>
</head>
<body>
<%@ include file="/page/share/menu.jsp" %>
<div id="content">
    <h2>模板下载</h2>
    <hr>
    <table style="margin: 0 auto;margin-bottom: 10px;">
        <s:iterator value="fileList" status="d">
            <s:set name="index" value="#d.getIndex()"/>
            <tr style="border: 1px #757575 solid">
                <a href="FileDownload!download.action?fileName=<s:property value="fileList.get(#index)"/>&filePath=D:/Dormitory/_file/_template/<s:property value="fileList.get(#index)"/>">
                    <s:property value="fileList.get(#index)"/></a></br>
            </tr>
        </s:iterator>
    </table>
</div>

<div id="footer">
    <p style="text-align: center;color: #757575;padding: 20px 0px 0px 0px; font:12px;">Copyright © 2010-2013 蓝天白云团队
        版权所有</p>
</div>

</body>
</html>
